package com.tms.springboot.base.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 车辆行驶证表
 * </p>
 *
 * @author cjj
 * @since 2023-06-14
 */
@Getter
@Setter
@TableName("pd_truck_license")
@Data
public class PdTruckLicense implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId("id")
    private String id;

    /**
     * 车辆id
     */
    @TableField("truck_id")
    private String truckId;

    /**
     * 发动机编号
     */
    @TableField("engine_number")
    private String engineNumber;

    /**
     * 注册时间
     */
    @TableField("registration_date")
    private LocalDate registrationDate;

    /**
     * 国家强制报废日期
     */
    @TableField("mandatory_scrap")
    private LocalDate mandatoryScrap;

    /**
     * 检验有效期
     */
    @TableField("expiration_date")
    private LocalDate expirationDate;

    /**
     * 整备质量
     */
    @TableField("overall_quality")
    private BigDecimal overallQuality;

    /**
     * 核定载质量
     */
    @TableField("allowable_weight")
    private BigDecimal allowableWeight;

    /**
     * 外廓尺寸
     */
    @TableField("outside_dimensions")
    private String outsideDimensions;

    /**
     * 行驶证有效期
     */
    @TableField("validity_period")
    private LocalDate validityPeriod;

    /**
     * 道路运输证号
     */
    @TableField("transport_certificate_number")
    private String transportCertificateNumber;

    /**
     * 图片信息
     */
    @TableField("picture")
    private String picture;


}
